<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/views/common/common.jsp"%>
<%@ include file="/WEB-INF/views/common/taglib.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<base href="<%=basePath%>" />
		<style>
			table{font-size:12px;}
			.infoa {padding:5px}
			.infoa td {text-align:left;height:26px;line-height:26px; vertical-align:top}.infoa td span{color:#cf0c0c}
			.cekxl {width:135px;height:22px;line-height:20px;padding-left:3px;color:#0b0b0d;border:1px #b5b9c2 solid;margin-right:5px;}
			.ceksr {width:135px;height:22px;line-height:20px;padding-left:3px;color:#0b0b0d;border:1px #b5b9c2 solid;margin-right:5px}
		</style>
	</head>
	<body>
		<div class="easyui-layout" data-options="fit:true">
			<div data-options="region:'center',border:false" style="margin-left: -1px;">
				<table id="resourceDataGrid"></table>
			</div>
		</div>
	
		<!-- 工具条 -->
		<div id="toolBar" style="margin-top:3px; width: 99%; height: 50px;">
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td>省/直辖市</td>
					<td>
						<select class="cekxl" name="province" id="province" onchange="Resource.getCity()">
							<option value="">请选择...</option>
							<c:forEach items="${provinces}" var="province">
								<option value="${province.provinceid}">${province.province}</option>
							</c:forEach>
						</select>
					</td>
					<td>城市</td>
					<td id="cityTd"></td>
					<td>频道</td>
					<td>
						<select class="cekxl" name="channel" id="channel">
							<option value="">请选择...</option>
							<c:forEach items="${channels}" var="channel">
								<option value="${channel.channelId}">${channel.channelName}</option>
							</c:forEach>
						</select>
					</td>
					<td>审核状态</td>
					<td>
						<select class="cekxl" name="checkFlag" id="checkFlag">
							<option value="">请选择...</option>
							<option value="0">已审核</option>
							<option value="1">未审核</option>
						</select>
					</td>
					<td>商户状态</td>
					<td>
						<select class="cekxl" name="dataFlag" id="dataFlag">
							<option value="">请选择...</option>
							<option value="0">新增</option>
							<option value="1">更新</option>
						</select>
					</td>
				</tr>
				<tr>
					<td>商户名称</td>
					<td>
						<input type="text" class="ceksr" name="shopName" id="shopName"/>
					</td>
					<td>开始时间</td>
					<td>
						<input type="text" style="width: 135px;" class="easyui-datebox" name="startTime" id="startTime"/>
					</td>
					<td>结束时间</td>
					<td>
						<input type="text" style="width: 135px;" class="easyui-datebox" name="endTime" id="endTime"/>
					</td>
					<td>
						<a href="javascript:void(0)" onclick="Resource.doSearch();" class="easyui-linkbutton" data-options="iconCls:'icon-search',plain:true">查询</a>
					</td>
					<td>
						<a href="javascript:void(0)" onclick="Resource.exportResource();" class="easyui-linkbutton" data-options="iconCls:'export',plain:true">导出</a>
					</td>
				</tr>
			</table>
	    </div>
	    
	    <!-- ==================页面操作JS================ -->
		<script type="text/javascript" src="/resources/js/pc/resource/list.js"></script>
	</body>
</html>